Use PEGetNSubreportsInSection to determines the number of subreports in the specified section.
short CRPE_API PEGetNSubreportsInSection (
short printJob,
short sectionCode );
Specifies the primary report from which you want to retrieve information about the number of subreports in a section. | |
Specifies the Section Codes, of the section for which you want a subreport count. See Working with section codes. |
sectionCode can be retrieved using PEGetSectionCode.
Declare Function PEGetNSubreportsInSection Lib "crpe32.dll" (
ByVal printJob As Integer, ByVal sectionCode As Integer ) As Integer
function PEGetNSubreportsInSection (
printJob: Word;
sectionCode: Smallint
): Smallint stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |